<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			.earthrotate{
				width: 310px;
				height: 310px;
				background-image: url(images/earth.png);
				border-radius: 160px;
				position: relative;
				animation: run 4s linear infinite;
			}
			.earthrotate:hover{
				animation-play-state: paused;
			}
			@keyframes run{
				from{transform: rotate(0deg);}
				to{transform: rotate(360deg);}
			}
		</style>
	</head>
	<body>
		<h3>地球旋转动画效果</h3>
		<div class="earthrotate">
			
		</div>
	</body>
</html>
